package com.itheima.service.impl;

import cn.hutool.core.thread.ThreadUtil;
import com.itheima.pojo.Dept;
import com.itheima.service.DeptService;

import java.util.List;

/**
 * 部门业务实现
 * @author ghy
 * @version V1.0
 * @date 2025-01-08 17:03
 */
public class DeptServiceImpl2 implements DeptService {



    @Override
    public List<Dept> queryAll() {
        ThreadUtil.sleep(150);
        return null;
    }

    @Override
    public void delete(Integer id) {

    }


    @Override
    public void insert(Dept dept) {
        ThreadUtil.sleep(120);
        System.out.println("修改部门");
    }

    @Override
    public void update(Dept dept) {

    }

    @Override
    public Dept queryById(Integer id) {
        return null;
    }
}
